Room Participant View
Room participant video view for displaying participant video streams.
Overview
RoomParticipantView View component for displaying room participant video streams. RoomParticipantView is a view component specifically designed for rendering room participant video streams. It supports both camera and screen sharing video stream types, and provides fill mode settings, active state control and other features.
Key Features
Video Stream Rendering:Supports rendering camera video streams and screen sharing video streams
Fill Mode:Supports FILL and FIT video fill modes
Active State:Supports setting the active state of the view to control video rendering
Gesture Interaction:Supports click and other gesture interactions
Tip: Before use, you need to initialize the video stream type and participant info through init method.
Topics
Creating Instance
RoomParticipantView - Create view instance
Video Stream Control
updateStreamType - Update video stream type
updateParticipant - Update participant info
View Settings
setFillMode - Set fill mode
setActive - Set active state
Interaction
setOnClickListener - Set click listener